package com.snail.poker.model;

/**
 * 牌型
 * 
 * @author Snail
 * 
 */
public class Rank {
	private int rankSn;
	/**
	 * 同花顺
	 */
	private double straightFlush;
	/**
	 * 四条
	 */
	private double fourKind;
	/**
	 * 葫芦
	 */
	private double fullHouse;
	/**
	 * 同花
	 */
	private double flush;
	/**
	 * 顺子
	 */
	private double straight;
	/**
	 * 三条
	 */
	private double threeKind;
	/**
	 * 二条
	 */
	private double twoPair;
	/**
	 * 一对
	 */
	private double onePair;
	/**
	 * 单大
	 */
	private double highCard;
	/**
	 * 玩家
	 */
	private String player;

	private Innings innings;

	public Rank() {
		super();
		// TODO Auto-generated constructor stub
		this.rankSn = 0;
		this.straightFlush = 0;
		this.fourKind = 0;
		this.fullHouse = 0;
		this.flush = 0;
		this.straight = 0;
		this.threeKind = 0;
		this.twoPair = 0;
		this.onePair = 0;
		this.highCard = 0;
		this.player = "";
	}

	public Rank(int rankSn, double straightFlush, double fourKind,
			double fullHouse, double flush, double straight, double threeKind,
			double twoPair, double onePair, double highCard, String player,
			Innings innings) {
		this();
		this.rankSn = rankSn;
		this.straightFlush = straightFlush;
		this.fourKind = fourKind;
		this.fullHouse = fullHouse;
		this.flush = flush;
		this.straight = straight;
		this.threeKind = threeKind;
		this.twoPair = twoPair;
		this.onePair = onePair;
		this.highCard = highCard;
		this.player = player;
		this.innings = innings;
	}

	public int getRankSn() {
		return rankSn;
	}

	public void setRankSn(int rankSn) {
		this.rankSn = rankSn;
	}

	public double getStraightFlush() {
		return straightFlush;
	}

	public void setStraightFlush(double straightFlush) {
		this.straightFlush = straightFlush;
	}

	public double getFourKind() {
		return fourKind;
	}

	public void setFourKind(double fourKind) {
		this.fourKind = fourKind;
	}

	public double getFullHouse() {
		return fullHouse;
	}

	public void setFullHouse(double fullHouse) {
		this.fullHouse = fullHouse;
	}

	public double getFlush() {
		return flush;
	}

	public void setFlush(double flush) {
		this.flush = flush;
	}

	public double getStraight() {
		return straight;
	}

	public void setStraight(double straight) {
		this.straight = straight;
	}

	public double getThreeKind() {
		return threeKind;
	}

	public void setThreeKind(double threeKind) {
		this.threeKind = threeKind;
	}

	public double getTwoPair() {
		return twoPair;
	}

	public void setTwoPair(double twoPair) {
		this.twoPair = twoPair;
	}

	public double getOnePair() {
		return onePair;
	}

	public void setOnePair(double onePair) {
		this.onePair = onePair;
	}

	public double getHighCard() {
		return highCard;
	}

	public void setHighCard(double highCard) {
		this.highCard = highCard;
	}

	public String getPlayer() {
		return player;
	}

	public void setPlayer(String player) {
		this.player = player;
	}

	public Innings getInnings() {
		return innings;
	}

	public void setInnings(Innings innings) {
		this.innings = innings;
	}
}
